package com.hejjon.core.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.time.LocalDateTime;

/**
 * @author: cs
 * @date: 2025-02-26 14:23:24
 * @since: 1.0
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("feature_category")
@ApiModel(value="FeatureCategory对象", description="特征定义分类表")
public class FeatureCategory {

    @TableId("id")
    private String id;

    @TableField("name")
    private String name;

    @TableField("alias")
    private String alias;

    @TableField("kind")         // basic   busiAttr
    private String kind;

    @TableField("parent_id")
    private String parentId;

    @TableField("icon")
    private String icon;

    @TableField("hide")
    private Integer hide;

    @TableField("create_time")
    private LocalDateTime createTime;

    @TableField("create_by")
    private String createBy;

    @TableField("update_time")
    private LocalDateTime updateTime;

    @TableField("update_by")
    private String updateBy;


    /**
     * 是否删除(0未删除1已删除)
     */
    @TableField("delete_flag")
    private String deleteFlag;


}
